package com.czwj.entities;

import java.util.Date;
import java.util.List;

public class FinishApply{
	private Integer id;
	
	private Integer projectitemid;
	
	private String content;
	
	private Integer status;
	
	private Integer createrid;
	
	private Date createdate;
	
	private String createip;
	
	private ProjectItem item;
	
	private List<Attachment> attachments;
	
	/**
	 * 创建一个新的实例 FinishApply.
	 *
	 */
	public FinishApply(){
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * 创建一个新的实例 FinishApply.
	 *
	 * @param id
	 * @param projectitemid
	 * @param content
	 * @param status
	 * @param createrid
	 * @param createdate
	 * @param createip
	 */
	public FinishApply(Integer id,Integer projectitemid,String content,Integer status,Integer createrid,Date createdate,
			String createip){
		super();
		this.id = id;
		this.projectitemid = projectitemid;
		this.content = content;
		this.status = status;
		this.createrid = createrid;
		this.createdate = createdate;
		this.createip = createip;
	}

	public ProjectItem getItem(){
		return item;
	}
	
	public void setItem(ProjectItem item){
		this.item = item;
	}
	
	public List<Attachment> getAttachments(){
		return attachments;
	}
	
	public void setAttachments(List<Attachment> attachments){
		this.attachments = attachments;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public Integer getProjectitemid(){
		return projectitemid;
	}
	
	public void setProjectitemid(Integer projectitemid){
		this.projectitemid = projectitemid;
	}
	
	public String getContent(){
		return content;
	}
	
	public void setContent(String content){
		this.content = content == null?null:content.trim();
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getCreaterid(){
		return createrid;
	}
	
	public void setCreaterid(Integer createrid){
		this.createrid = createrid;
	}
	
	public Date getCreatedate(){
		return createdate;
	}
	
	public void setCreatedate(Date createdate){
		this.createdate = createdate;
	}
	
	public String getCreateip(){
		return createip;
	}
	
	public void setCreateip(String createip){
		this.createip = createip == null?null:createip.trim();
	}
}
